﻿//
//  Windows_libc
//
//  Created by  cc_team(陈旭，陈曦) qq:511272827.
//  Copyright 2011 cc_team. All rights reserved.
//
#ifndef CC_LENGTH_H
#define CC_LENGTH_H

#include "cc_common.h"
#include "cc_stdlib.h"

__BEGIN_DECLS

// get the length of a number with radix, 
// for example, cc_getLen(100, 10) = 3, cc_getLen(100, 16) = 2.
int __cdecl cc_getLen(
	size_t	n,
	int		radix
);

__END_DECLS


#endif